<template>
	<view class="weebk-feedback-table">
		<u-navbar bgColor='#4871C0' :titleStyle="{ color: '#FFF'}" title="周反馈表" leftIconColor="#FFF"
			@rightClick="rightClick" :autoBack="true" >
		</u-navbar>
		<view class="container">
			<view class="list">
				<view class="" v-for="(item, index) in list" class="list-item">
					<view class="title">
						{{item.title}}
					</view>
					<view class="content">
						{{item.content}}
					</view>
					<view class="u-flex">
						<view class="daochu">
							<button type="default" class="btn"  v-if="item.id == 2">导出</button>
							<button type="default" class="btn"  v-if="item.id == 3">签发</button>
						</view>
					</view>
					
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					id:1,
					title: '2021-2022年第二学期工作计划',
					content: '临近学期末，学校将会举办本学年的优秀教师评选活动，期期期期期期期期期期期期期期期期期期期'
				}, {
					id:2,
					title: '2021-2022年第二学期工作计划1',
					content: '临近学期末，学校将会举办本学年的优秀教师评选活动，期期期期期期期期期'
				}, {
					id:3,
					title: '2021-2022年第二学期工作计划2',
					content: '临近学期末，学校将会举办本学年的优秀教师评选活动，期期期期期'
				}]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.weebk-feedback-table {
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	background-color: #F8F8F8;
	overflow: hidden;
	.container{
		padding: 0 24rpx;
	}
	.list {
		overflow: hidden;
		.list-item {
			background-color: #fff;
			border-radius: 16rpx;
			opacity: 1;
			margin-top: 20rpx;
			padding: 0 30rpx 36rpx;
			.title {
				font-size: 32rpx;
				font-family: PingFang SC-Bold, PingFang SC;
				font-weight: bold;
				color: #333333;
				padding: 30rpx 0 10rpx 0;
			}
			.content {
				font-size: 24rpx;
				font-family: PingFang SC-Medium, PingFang SC;
				font-weight: 500;
				color: #666666;
				white-space: nowrap;
				overflow: hidden;
				text-overflow:ellipsis;
			}
			.daochu {
				overflow: hidden;
				.btn {
					width: 144rpx;
					height: 64rpx;
					line-height: 64rpx;
					background: #4871C0;
					border-radius: 16rpx;
					float: right;
					opacity: 1;
					font-size: 28rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #FFFFFF;
					margin-top: 30rpx;
					margin-left: 10rpx;
				}
			}
	
		}
	}
}
</style>
